<?php
/**
 * Container Interface.
 * @package safsi
 */

require_once('safsi_exception_Exception.php');

/**
 * Container Interface.
 * @package safsi
 */
interface safsi_IContainer {

    /**
     * Get the container's name.
     * @return string Name
     */
    public function name();

    /**
     * Deletes a safsi_IObject.
     * @param mixed $object Name of object or a safsi_IObject instance
     */
    public function deleteObject($object);

    /**
     * Gets a safsi_IObject.
     * @param mixed $object Name of object or a safsi_IObject instance
     * @return safsi_IObject
     */
    public function getObject($object);

}

?>
